﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Classes {
    import __AS3__.vec.*;

    public class ThemeListDefinition implements IThemeDefinition {

        private var m_themeDefinitions:Vector.<ThemeDefinition>;

        public function ThemeListDefinition(_arg1:Vector.<XML>){
            var _local2:XML;
            super();
            this.m_themeDefinitions = new Vector.<ThemeDefinition>();
            for each (_local2 in _arg1) {
                this.m_themeDefinitions.push(new ThemeDefinition(_local2));
            };
        }
        public function getThemeItemByName(_arg1:String, _arg2:Item=null):Item{
            var _local4:ThemeDefinition;
            var _local3:Item = _arg2;
            for each (_local4 in this.m_themeDefinitions) {
                _local3 = _local4.getThemeItemByName(_arg1, _local3);
            };
            return (_local3);
        }

    }
}//package Classes 
